package com.dfy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dfy.dto.*;
import com.dfy.entity.User;
import java.util.List;

public interface UserService extends IService<User> {
    User register(RegisterRequest request);
    LoginResponse login(LoginRequest request);
    void updateUser(Long userId, UpdateUserRequest request);
    boolean checkFavorite(Long userId, Long spotId);
    void addFavorite(Long userId, Long spotId);
    void removeFavorite(Long userId, Long spotId);
    List<SpotDTO> getFavorites(Long userId);
} 